//积分
<template>
  <div class='integral'>
      <nav-bar :title="title"/>
      <div class="points">
        <div class="big-my">我的积分</div>
        <div class="sm-my">我的积分</div>
        <div class="num">{{this.$route.query.value}}</div>
        <div class="duihuan" @click="change">去兑换</div>
        <div class="zengsong" @click="present">去赠送</div>
      </div>
  </div>
</template> 

<script>
  import navBar from '@/components/navBar'
export default {
  name: '',
  props: {},
  components: {
    navBar
  },
  data() {
    return {
      title:'积分'
    };
  },
  methods: {
    change(){
      this.$toast('该功能还在开发中')
    },
    present(){
      this.$toast('该功能还在开发中')
    }
  },

  created() {},

  mounted() {},

  computed: {},

  watch: {},

};
</script>

<style lang='scss' scoped>
  .integral{
    width: 100%;
    height: 100%;
    padding:4rem 1rem 0 1rem;
    .points{
      width: 100%;
      height: 8.5rem;
      background: #fff;
      border: 3px solid rgb(246, 243, 243);
      border-radius: 10px;
      position: relative;
      div{
        position: absolute;
      }
      .big-my{
        top: 1rem;
        left: 1rem;
      }
      .sm-my{
        left: 1rem;
        top: 3rem;
        font-size: 12px;
      }
      .num{
        left: 1rem;
        bottom: 1.5rem;
      }
      .duihuan{
        top: 1rem;
        right: 1rem;
        width: 6rem;
        height: 2.5rem;
        border: 2px solid #ccc;
        border-radius: 10px;
        text-align: center;
        line-height: 2.5rem;
        font-size: 14px;
      }
      .zengsong{
        right: 1rem;
        bottom: 1rem;
        width: 6rem;
        height: 2.5rem;
        border: 2px solid #ccc;
        border-radius: 10px;
        text-align: center;
        line-height: 2.5rem;
        font-size: 14px;
      }
    }
  }
</style>